//
//  Student.swift
//  swift-02
//
//  Created by China Dragon on 2023/8/19.
//

import UIKit

class Student: Person {
    var no:String
    override init() {
        print("Student 构造函数")
        no = "001"
        
        
        super.init()
    }
    
    override init(name: String? = nil, name2: String, age: Int) {
        self.no = "001"
        super.init(name2: name2, age: age)
    }
    
    init(name: String? = nil, name2: String, age: Int, no: String) {
        self.no = no
        super.init(name: name, name2: name2, age: age)
    }

}
